#include <cstdio>

int main( )
{
    int n, k, cas = 1;
    while ( scanf("%d%d", &n, &k) != EOF )
    {
        printf("Case %d: ", cas++);
        if ( k == 1 && n % 2 == 1 )
            puts("Bob");
        else
            if ( n > k * 2 + 1 )
                printf("Alice %d\n", 1);
            else
                printf("Alice %d\n", k);
    }
    return 0;
}
